# coding: utf-8
#2个方法各有优缺点
def tuxing(x=5, y=5, z='*'):
    for i in range(x):
        for j in range(y):
            print(z, end=' ')
        print()
def tu_2(x=5, y=5, z='*'):
    for i in range(x):
        print(z*y)
tuxing()
tuxing(4, 3)
tuxing(2, 6, '!')
tu_2()
tu_2(4, 3)
tu_2(2, 6, '!')